package com.golang.activity.controller;


import com.golang.activity.dto.request.TagInfoDto;
import com.golang.activity.dto.request.TagSearchDto;
import com.golang.activity.dto.response.TagListRespDto;
import com.golang.common.dto.ResponseParam;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/tag")
@Slf4j
public class TagController {

    //标签列表(根据名称模糊查询)
    @PostMapping(value = "/getList")
    public ResponseParam<TagListRespDto> createBasic(@RequestBody TagSearchDto dto) {

        return null;

    }


    //新增标签
    @PostMapping(value = "/add")
    public ResponseParam addTag(@RequestBody TagInfoDto dto) {

        return null;

    }


}
